var thumbsSwiper = new Swiper('.swiper-thumbs', {
    //缩略图 
      slidesPerView: 5,
      });
      // var gallerySwiper = new Swiper('#gallery',{
      //     spaceBetween: 10,
      //     thumbs: {
      //       swiper: thumbsSwiper,
      //     }
      //   })
      var mySwiper = new Swiper('.swiper', {   
        // direction: 'vertical', // 垂直切换选项
        loop: true, // 循环模式选项
        
        // 如果需要分页器
        pagination: {
          el: '.swiper-pagination',
        },
        
        // 如果需要前进后退按钮
        navigation: {
          nextEl: '.swiper-button-next',
          prevEl: '.swiper-button-prev',
        },
        thumbs: {
          swiper: thumbsSwiper
        }
        // 如果需要滚动条
        // scrollbar: {
        //   el: '.swiper-scrollbar',
        // },
  
      });  
      
        